#include<bits/stdc++.h>
using namespace std;
const int N=1e6;
int n,r[N],temss,maxnn=0,zxnum=0;
int maxn(int aa,int bb){
    return aa>=bb?aa:bb;
}

int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    scanf("%d",&n);
    for(int i=1;i<=n;++i){
        scanf("%d",&temss);
        maxnn=maxn(maxnn,temss);
        ++r[temss];
    }
    for(int i=1;i<=maxnn;++i){
        zxnum=maxn(r[i],zxnum);
    }
    printf("%d",zxnum);
    return 0;
}
